/*******************************************************************
 * 
 *  Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
 *
 *  Description: 
 *
 *  Author: Amlogic Software
 *  Created: Fri Nov 11 01:17:34 2005
 *
 *******************************************************************/
#ifndef __WINPICINFOBAREVENT_H_
#define __WINPICINFOBAREVENT_H_
#define PIC_INFOBAR_NAME_LENGTH 160
#define PIC_INFOBAR_SHOW_TIME   10
#define  PIC_PANEL_PLAYPAUSE    2
#define  PIC_PANEL_STOP         5
#define  PIC_PANEL_RIGHT        4
#define  PIC_PANEL_ZOOM         6
#define  PIC_PANEL_PREV_CHAP    1
#define  PIC_PANEL_NEXT_CHAP    3
#define  PIC_PANEL_INFOR        0
#define  PIC_PANEL_9_PIC        7
#define  PIC_PANEL_PRINT        8
#define  PIC_PANEL_PLAY         9
extern int printjobid;
INT32S UpdateRotate(INT8U level);
INT32S PicInfoBarOnShow(PHWND hwnd, INT32S lpParam) ;
INT32S PicInfoBarOnKeyPress(PHWND hwnd, INT32S lpParam) ;

void UpdatePicInfoBarIcon(int OldFocus, int NewFocus);
INT32S UpdatePicutrePlayFileName(char *file_name) ;

INT32S PicInfoBarOnOtherEvent(PHWND hwnd, INT32U msg_type, INT32S lpParam) ;
void UpdateMusicInfo(void);
void UpdateMuteInfo();
void UpdateVolumeInfo(void);
INT32S UpdatePlayStatus(INT32S play_status);
void DeleteTimer();
void CleanMiniBar(void) ;
INT32S WinPicInfoBarOnShow(PHWND hwnd, INT32S lpParam);
INT32S MiniBarTimerStart(int timer,TIMER_CB_t auto_play_timer_cb);
INT32S PicInfobarTimerStart(int timer,TIMER_CB_t auto_play_timer_cb);
INT32S UpdatePauseMinibar(int status);
INT32U UpdateAudioInfo();
void setminibarpara();
void setinfobarpara();
void cleanminibarpara();
void cleaninfobarpara();
void auto_play_timer_cb(void *arg);
INT32S MiniBarOnKeyPress(PHWND hwnd, INT32S lpParam);
void PicPlayState(INT8U msg_id, int msg_value);
void ShowWinPicInfoBar();
static void PIC_caption_moving_time_func_1(void *arg);
#ifdef ZOOM_IN
int PicResetZoomLevel(void);
#endif

#endif //__WINPICINFOBAREVENT_H_
